#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int DataType;

typedef struct BinaryTreeNode {
	struct BinaryTreeNode* left;
	struct BinaryTreeNode* right;
	DataType data;
}BTNode;

void TreeDestroy(BTNode* root)
{
	if (!root)
		return;
	TreeDestroy(root->left);
	TreeDestroy(root->right);
	free(root);
}
void TreeDestroy(BTNode* root)
{
	if (!root)
		return;
	TreeDestroy(root->left);
	TreeDestroy(root->right);
	free(root);
}